/**
 * Created by sa on 2015/8/21.
 */


//var title = 'http://v.youku.com/v_show/id_XMTI3NjY3OTQ2NA==.html?from=s1.8-1-1.1';
//
//var start = title.indexOf('/id_')
//var end = title.indexOf('.html?')
//
//title = title.substring(start + 4 , end)
//
//console.log(title);


//var title = '/蕙兰瑜伽';
//
//var start = title.indexOf('/1')
//console.log(start)

/*var id = Math.floor(Math.random()*255+1)
  + '.'
  + Math.floor(Math.random()*255+1)
  + '.'
  + Math.floor(Math.random()*255+1)
  + '.'
  + Math.floor(Math.random()*255+1);
console.log(id)*/


var id = Math.floor(Math.random()*10+1)
console.log(id)
console.log(id % 3)
